<!DOCTYPE html>
<html>
    <body>
        <h1 onclick="this.innerHTML='谢谢' ">请点击该文本</h1>
    </body>
</html>